import request from '@/utils/request'
const prefixUrl = '/service-loan/airui/api/loan'
//贷款产品
export const GetLoanProduct = () => {
  return request({
    url: prefixUrl + '/product',
    method: 'get',
  })
}
//贷款申请
export const GetLoanApply = data => {
  return request({
    url: prefixUrl + '/loan',
    method: 'post',
    data,
  })
}
//我的贷款
export const GetMyLoanListMsg = () => {
  return request({
    url: prefixUrl + '/myLoan',
    method: 'get',
  })
}
//还款
export const ReBackLoanMoney = data => {
  return request({
    url: prefixUrl + '/reBackLoan',
    method: 'post',
    data,
  })
}
